﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AcSDK.Domain;
using AcSDK.Response;
using AcSDK.Util;
using Top.Api;

namespace AcSDK.Request
{
    [Serializable]
    public class TestRequest : BaseAcRequest<TestResponse, AT_OutBoundScanRecord>
    {
        //public string RequestBody 
        //{
        //    get { return JsonHelper.SerializeObject(Instance); }
            
        //    }
           

        //public AT_OutBoundScanRecord Instance { get; set; }

        public override string GetApiName()
        {
            return "mst.stockout.add";
        }

        public override void Validate()
        {
            //throw new NotImplementedException();
        }

        public override IDictionary<string, string> GetParameters()
        {
            AcDictionary parameters = new AcDictionary();
            parameters.Add("RequestBody", this.RequestBody);
            if (this.otherParams != null)
            {
                parameters.AddAll(this.otherParams);
            }
            return parameters;
        }
    }
}
